﻿/*=========================================================================
  Program:   pangu
  Module:    CFMesh.h
  Author: huan.liu, sen.wang

  Copyright (c) CQAI
  All rights reserved.

 * @class   CFMesh
 * @brief   build cfMesh
=========================================================================*/

#ifndef _CFMESH_H_
#define _CFMESH_H_

#include "Mesh.h"
#include <QProcess>
#include <QObject>

class CFMesh : public Mesh
{
  Q_OBJECT
public:
  CFMesh(const Geometry& geometry);
  ~CFMesh();

  void Build() override;

public Q_SLOTS:
  void onReadData();
  void onOpenFOAM();

private:
  CFMesh(const CFMesh& mesh) = delete;
  CFMesh& operator=(const CFMesh& mesh) = delete;
};

#endif // !_CFMESH_H_
